package org.dromara.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.WbItemVisitLogs;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 项目浏览记录视图对象 wb_item_visit_logs
 *
 * @author Lion Li
 * @date 2024-03-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WbItemVisitLogs.class)
public class WbItemVisitLogsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "项目ID")
    private Long id;

    /**
     * 项目ID
     */
    @ExcelProperty(value = "项目ID")
    private Long itemId;

    /**
     * 登录人
     */
    @ExcelProperty(value = "登录人")
    private Long loginUser;

    /**
     *最后登录时间
     */
    @ExcelProperty(value = "最后登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastBrowseTime;


}
